package study;

public class Boat extends Trans{
    int people=500;
    String type="海上";
    public void boat(){
        System.out.println("轮船的载人方式是 ："+type+",一次可以运载"+people+"人");
    }

    @Override
    public void manned() {
        System.out.println("轮船重载了交通工具");
    }
}
